
#include "../../framework/inc/xDxApp.h"
#include "../../../dxhead/dxegheader.h"
#include "../inc/xMemTerrain.h"

namespace Sky
{
	xMemTerrain::TPatch* xMemTerrain::GetPatch(TInt x,TInt z)
	{
		return (TPatch*)&_data[_oz_block + z * ONE_PATCH_SIZE][_ox_block + x * ONE_PATCH_SIZE];
	}
}